<!DOCTYPE html>
<html>
<head>
	<title>阳新帝豪装饰后台---添加菜单</title>
	{include file="public/head" /}
	{load href="/static/js/addStyle.js" /}
</head>
<body class="childrenBody">
<form class="layui-form" action="" lay-filter="example" method="post"  enctype="multipart/form-data">
	<div class="layui-form-item">
		<label class="layui-form-label">装修风格</label>
		<div class="layui-input-block">
			<input type="text" name="name" value="{$info.tagName}"  lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">展示图</label>
		<div class="layui-upload">
			<button type="button" class="layui-btn" id="test1">上传图片</button>
			<div class="layui-upload-list" style="margin:10px 0 15px 100px; width:300px;height: 200px; ">
				<img  class="layui-upload-img" name="img" style="width:200px;height: 150px;" id="demo1" src=  '{:$info.imgUrl}'>
				<p id="demoText"></p>
			</div>
		</div>
	</div>
	<div id = 'imgID'>
		<input type="hidden" name="img_id" value="{$info.imgId}">
	</div>
	<input type="hidden" value="{$info.id}" name="id">
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit="" lay-filter="submit" >立即提交</button>
		</div>
	</div>
</form>
</body>
</html>